﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="newArticle.aspx.vb" Inherits="MobileStandards.newArticle" %>

<%@ Register src="webcontrols/banner.ascx" tagname="banner" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Add New Article</title>
    <link rel="Stylesheet" href="mobilestandards.css" />
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
</head>
<body>
    
    
    <form id="form1" runat="server">
    <uc1:banner ID="banner1" runat="server" />
&nbsp;<div>
    
        <table class="style1">
            <tr>
                <td align="right">
                    Author</td>
                <td class="borderless">
        <asp:TextBox ID="Article_Author" runat="server" Width="230px" CssClass="inputtext"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    Title</td>
                <td class="borderless">
        <asp:TextBox ID="Article_Title" runat="server" Width="230px" CssClass="inputtext"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    URL</td>
                <td class="borderless">
        <asp:TextBox ID="Article_Hyperlink" runat="server" Width="230px" CssClass="inputtext"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    Week</td>
                <td class="borderless">
                    <asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="WeeksID" 
                        DataTextField="Number" DataValueField="ID">
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="WeeksID" runat="server" 
                        ConnectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\mobilestandards.accdb" 
                        ProviderName="System.Data.OleDb" 
                        SelectCommand="SELECT [ID], [Number] FROM [Weeks]"></asp:SqlDataSource>
                </td>
            </tr>
            <tr>
                <td align="right" valign="top">
                    Comments</td>
                <td class="borderless">
        <asp:TextBox ID="Article_Intro" runat="server" Height="76px" 
            TextMode="MultiLine" Width="340px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right" valign="top">
                    Abstract</td>
                <td class="borderless">
        <asp:TextBox ID="Article_Abstract" runat="server" Height="177px" 
            TextMode="MultiLine" Width="340px"></asp:TextBox>
    
                </td>
            </tr>
        </table>
    
    </div>
    <asp:Button ID="Button1" runat="server" Text="Add Article Entry to Database" />
    </form>
</body>
</html>
